import { AxiosPromise } from "axios";
import axios from "../axios";
import Iservice from "./IService";
// import WeatherInfo from "./index";

class Service implements Iservice {
  query(params?: any): AxiosPromise {
    return axios({
      method: "get",
      url: "/weather",
      params,
    });
  }
}
export default new Service();
